﻿@model BrnMall.Web.StoreAdmin.Models.BrokerageRequestListModel
@using BrnMall.Web.StoreAdmin.Models

@section header{
    <title>提现记录-佣金管理</title>
    <link type="text/css" rel="stylesheet" href="/admin_store/css/site.css" />
    <script type="text/javascript" src="/admin_store/scripts/jquery.js"></script>
    <script type="text/javascript" src="/components/my97datepicker/WdatePicker.js"></script>
    <link rel="stylesheet" type="text/css" href="/components/jbox/Skins/Default/jbox.css" />
    <script type="text/javascript" src="/components/jbox/jquery.jBox-2.3.min.js"></script>
    <script type="text/javascript" src="/admin_store/scripts/selectlist.js"></script>
    <script type="text/javascript" src="/admin_store/scripts/showlist.js"></script>
}
@section body{
    <h1 class="rightH1 nav-fx">
        小程序分销 &gt; 佣金管理 &gt; <span class="rightH1-cur">提现记录</span>
        <div class="right">

            <div class="clear"></div>
        </div>
        <div class="clear"></div>
    </h1>
    @using (Html.BeginForm("BrokerageRequestList", "Distributor"))
    {

        <div class="dataListSearch">
            <table>
                <tbody class="col3">
                    <tr>
                        <td class="dt1">分销商名称：@Html.TextBoxFor(x => x.DisStoreName, new { height = "18" })</td>
                        <td class="dt2">支付时间：@Html.TextBox("sendTimeStart", Model.SendTimeStart, new { height = "18", onfocus = "WdatePicker({el:'sendTimeStart'})" })</td>
                        <td class="dt3">结束时间：@Html.TextBox("sendTimeEnd", Model.SendTimeEnd, new { height = "18", onfocus = "WdatePicker({el:'sendTimeEnd'})" })</td>
                        <td><input id="SearchBrokerage" name="SearchBrokerage" type="image" class="searchBut submit" src="/admin_store/images/s.jpg" /></td>
                   </tr>
                    <tr>
                        <td style="padding-left:14px">申请时间：@Html.TextBox("requestTimeStart", Model.RequestTimeStart, new { height = "18", onfocus = "WdatePicker({el:'requestTimeStart'})" })</td>
                        <td colspan="3">结束时间：@Html.TextBox("requestTimeEnd", Model.RequestTimeEnd, new { height = "18", onfocus = "WdatePicker({el:'requestTimeEnd'})" })</td>
                    </tr>
                </tbody>
            </table>
        </div>

        <div class="dataList">
            <table width="100%">
                <thead>
                    <tr>
                        <th width="60" align="left">编号</th>
                        <th  align="left">分销商</th>
                        <th  align="left">分销商名称</th>
                        <th align="left">申请时间</th>
                        <th  align="left">提现金额</th>
                        <th  align="left">转账方式</th>
                        <th align="left">支付日期</th>
                        <th align="left">审核人</th>
                        <th  align="left">审核时间</th>
                    </tr>
                </thead>
                <tbody>
                    @foreach (BrokerageRequestModel bro in Model.BrokerageRequestList)
                    {
                        <tr>

                            <td>@bro.Id</td>
                            <td><img style="border-radius: 25px;" width="50" height="50" alt="" src="@bro.Distributor.ShowLogo" /></td>
                            <td>@bro.Distributor.DisStoreName</td>
                            <td>@bro.RequestTime.ToString("yyyy-MM-dd HH:mm:ss")</td>
                            <td><span style="color:#e17a00">@bro.Amount.ToString("0.00")</span></td>

                            <td>微信企业转账</td>
                            <td>@bro.SendTime.ToString("yyyy-MM-dd HH:mm:ss")</td>
                            <td>
                                @bro.ApprovedUserName
                            </td>
                            <td>@bro.ApprovedTime.ToString("yyyy-MM-dd HH:mm:ss")</td>
                            
                    </tr>
                    }
                </tbody>
            </table>
        </div>
        <div class="dataListEdit">

            <div class="page">
                @Html.StoreAdminPager(Model.PageModel)
            </div>
        </div>
    }
}